class CONTROLLER {
    public:
        CONTROLLER();
        ~CONTROLLER();
          
        void oslib( void );
        void VAUGHN_LOGO( void );
        void FlushScreen();
        
    private:
        
};

void CONTROLLER::FlushScreen()
{
    oslStartDrawing();
    oslClearScreen(BLACK);
    oslEndDrawing();
    oslSyncFrame();
    
    return;
}
void CONTROLLER::oslib(void)
{
    oslInit(0);
    oslInitGfx(OSL_PF_8888, 1);
    oslInitAudio();
    oslSetQuitOnLoadFailure(1);
    oslSetKeyAutorepeatInit(20);
    oslSetKeyAutorepeatInterval(5);
    oslSetTransparentColor(RGB(255,0,255));
    return;
}
  
void CONTROLLER::VAUGHN_LOGO()
{
    OSL_IMAGE *logo_pic = oslLoadImageFilePNG((char*)"img/data/logo.png", OSL_IN_RAM, OSL_PF_5551);

    oslStartDrawing();
    oslDrawImage(logo_pic);
    oslEndDrawing();
    oslSyncFrame();

    Wait;
    
    oslDeleteImage(logo_pic);

    return;
}

CONTROLLER::CONTROLLER()
{  
    return;
}

CONTROLLER::~CONTROLLER()
{
    return;
}
